package com.mlog.njyjy.ndop.share.zabbix.request.core;

/**
 * <p>
 * .
 * </p>
 *
 * @author <a href="mailto:yingxiufeng@mlogcn.com">alex</a>
 * @version v1.0, 2020/7/20
 */
public abstract class AbstractZabbixRequestBuilder<T extends ZabbixRequest, M> {


    /**
     * 请求方法名 eg `user.login`
     */
    protected String method;


    public M method(String method) {
        this.method = method;
        return (M) this;
    }


    /**
     * build request
     *
     * @return
     */
    abstract public T build();


}
